package team.tunan.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import team.tunan.dto.SupplierPageDto;
import team.tunan.entity.Supplier;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sqx
 * @since 2023-12-24
 */
public interface ISupplierService extends IService<Supplier> {

    int insertSupplier(Supplier supplier);

    int updateSupplier(Supplier supplier);

    int deleteSupplier(String id);



    Page<Supplier> selectPage(SupplierPageDto supplierPageDto);
}
